package com.yvtian.admin.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReqPermission {

    private Integer id;

    @NotBlank(message = "权限代码不能为空")
    private String perCode;

    @NotBlank(message = "权限名称不能为空")
    private String perName;

    private String perHref;

    private Integer parentId;
    /**
     * 权限的描述
     */
    private String perDes;

}
